﻿@model IEnumerable<string>

@{
    Layout = null;
}

@Html.ActionLink("Home", "List", "KaraokeTrack")

@foreach (var link in Model)
{
    @Html.RouteLink(link,
        new {
            controller = "KaraokeTrack",
            action = "List",
            category = link,
            page = 1
        },
        new {
            @class = link == ViewBag.SelectedCategory ? "selected" : null
        }
    )
}